<?php (defined('BASEPATH')) OR exit('No direct script access allowed');

/* load the MX_Loader class */
require APPPATH."third_party/MX/Controller.php";

class MY_Controller extends MX_Controller {
    var $_data = array();
    function __construct(){
        parent::__construct();        
        $this->_data['titlepage'] = 'Phòng máy';
        $this->_data['title_insidepage'] = 'Phòng máy';        
        $this->_data['_siteurlkeys'] = $this->config->item('_siteurlkeys');
    }
    
    function _load_view($view){
        $this->load->view('header',$this->_data);
        $this->load->view($view,$this->_data);
        $this->load->view('footer',$this->_data);
    }
}